<?php
/**
 * common.php               common.php
 * 
 * @author                  mashanling(msl-138@163.com)
 * @date                    2012-03-23 15:54:10
 * @last modify             2012-03-23 15:54:10 by mashanling
 */

!defined('ROOT') && exit('Access Denied');

header('content-type:text/html; charset=utf-8');

define('_PHP_FILE_'         , rtrim($_SERVER['SCRIPT_NAME'], '/'));
define('__ROOT__'           , '');
define('APP_PATH'           , ROOT . APP_NAME . '/');    //根目录
define('APP_PATH_UP'        , dirname(ROOT) . '/');      //根目录上级目录
define('INCLUDE_PATH'       , APP_PATH_UP . 'include/'); //include包含路径

require(INCLUDE_PATH . 'webinfo_config.php');
require(INCLUDE_PATH . 'misc_config.php');
require(INCLUDE_PATH . 'db_config.php');
require(INCLUDE_PATH . 'path_config.php');
require('ThinkPHP/ThinkPHP.php');
?>